package com.wocai.jrt.orgadmin.enterprise.service.impl;

import javax.inject.Inject;
import javax.inject.Named;

import com.wocai.jrt.orgadmin.enterprise.dao.EnterpriseAttachmentDao;
import com.wocai.jrt.orgadmin.enterprise.model.EnterpriseAttachment;
import com.wocai.jrt.orgadmin.enterprise.model.EnterpriseAttachmentBean;
import com.wocai.jrt.orgadmin.enterprise.service.spi.EnterpriseAttachmentService;

import com.vteba.service.generic.impl.MyBatisServiceImpl;
import com.vteba.tx.jdbc.mybatis.spi.BaseDao;

/**
 * 企业附件相关的service业务实现。
 * @author yinlei
 * @date 2016-5-6 14:30:38
 */
@Named
public class EnterpriseAttachmentServiceImpl extends MyBatisServiceImpl<EnterpriseAttachment, EnterpriseAttachmentBean, String> implements EnterpriseAttachmentService {
	// 添加了方法后，记得改为private
	protected EnterpriseAttachmentDao enterpriseAttachmentDao;
	
	@Override
	@Inject
	public void setBaseDao(BaseDao<EnterpriseAttachment, EnterpriseAttachmentBean, String> enterpriseAttachmentDao) {
		this.baseDao = enterpriseAttachmentDao;
		this.enterpriseAttachmentDao = (EnterpriseAttachmentDao) enterpriseAttachmentDao;
	}
}
